<% include ../common/header.ejs %>
        

        <div class="container">
                <form class="form-horizontal" action="" method="POST">
                        <div class="form-group">
                          <label for="inputEmail3" class="col-sm-2 control-label">文章标题</label>
                          <div class="col-sm-10">
                            <input type="text" value="<%=article.title%>" name="title" class="form-control" id="inputEmail3" placeholder="文章标题">
                          </div>
                        </div>
                        <div class="form-group">
                          <label for="inputPassword3"  class="col-sm-2 control-label">文章内容</label>
                          <div class="col-sm-10">
                                <textarea class="form-control" name="content" rows="3"><%= article.content%></textarea>
                          </div>
                        </div>
                        <input type="hidden" name="id" value="<%=article.id%>">
                        <div class="form-group">
                          <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-primary">修改</button>
                          </div>
                        </div>
                      </form>
        </div>
</body>
</html>